package com.example.hangzhou.welbeing.mytestdemoapp.mvp.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.view.ViewPager;
import android.support.v7.app.AppCompatActivity;

import com.example.hangzhou.welbeing.mytestdemoapp.R;
import com.example.hangzhou.welbeing.mytestdemoapp.adpater.myGuideFigureFragmentAdapter;

import butterknife.Bind;
import butterknife.ButterKnife;
import me.relex.circleindicator.CircleIndicator;

/**
 * 杭州惟君医疗科技有限公司16
 * Created by 20433 on 2018/5/3
 *
 * @desc 东风山河绿，春已不折柳，繁花看不尽，处处惹人留
 * @desc 佛祖镇楼，bug辟容易
 */

public class guideFigureActivity extends AppCompatActivity {

    @Bind(R.id.activity_guide_figure_viewpager)
    ViewPager activityGuideFigureViewpager;
    @Bind(R.id.activity_guide_figure_circle_indicator)
    CircleIndicator activityGuideFigureCircleIndicator;


    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_guide_figure);
        ButterKnife.bind(this);


        myGuideFigureFragmentAdapter adapter = new myGuideFigureFragmentAdapter(getSupportFragmentManager());
        activityGuideFigureViewpager.setAdapter(adapter);
        activityGuideFigureCircleIndicator.setViewPager(activityGuideFigureViewpager);

    }
}
